package com.yyk.yykywd.mvvm.ui

import com.yyk.yykywd.R
import com.yyk.yykywd.base.BaseActivity
import com.yyk.yykywd.util.ToAnotherActivity
import kotlinx.android.synthetic.main.activity_add_customer.*

class AddCustomerActivity : BaseActivity() {
    override fun initView() {
        setBackArrow()
        setTitle("新增客户")
    }

    override fun setListener() {
        cl_add_hospital.setOnClickListener {
            ToAnotherActivity.toCommonActivity(mActivity, AddHospitalCustomerActivity::class.java)
        }
        cl_add_agent.setOnClickListener {
            ToAnotherActivity.toCommonActivity(mActivity, AddAgentCustomerActivity::class.java)
        }
    }

    override fun initData() {
    }

    override fun getLayoutId(): Int {
        return R.layout.activity_add_customer
    }

}
